package com.batata.continuing.pojo.config;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigInteger;

/**
 * 开关配置
 */
@Data
@TableName("config_switch")
public class ConfigSwitch {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "开关记录id", example = "1")
    private BigInteger id;

    @ApiModelProperty(value = "开关名称")
    private String switchName;

    @ApiModelProperty(value = "开或关 0 关 1 开")
    private int openOrClose;

    @ApiModelProperty(value = "建立时间", hidden = true)
    private String jlsj;

    @ApiModelProperty(value = "更新时间", hidden = true)
    private String gxsj;


}
